#ifndef _test_Menu_h
#define _test_Menu_h

#include <nemesis.comm.Handler.h>

namespace nemesis {
namespace comm {
class SchedulerGuard;
}
}


namespace test {

class Menu : public nemesis::comm::Handler {
public:
   static const char* EventData;

   struct Data {
      char a_operation;
      int a_op1;
      int a_op2;      
   };   

   Menu (nemesis::comm::Communicator*);

   void paint () const throw ();

private:   
   Data a_data;
   int a_status;

   void initialize () throw (nemesis::RuntimeException) {;}
   void apply () throw (nemesis::RuntimeException);
   void finalize () throw () {;}

};

}

#endif

